package com.ovhoo.android.smsbombing;

public class ShortMessage {
	private int    counter       = 0 ;
	private String destinator    = "";
	private String message       = "";
	
	public ShortMessage(String destinator, String message){
		this.destinator = destinator;
		this.message = message;
	}
	
	public String getMessage(){
		return this.message;
	}
	
	public String getDestinator(){
		return this.destinator;
	}
	
	public int getCounter(){
		return this.counter;
	}
	
	public void setMessage(String message){
		this.message = message;
	}
	
	public void resetCounter(){
		this.counter = 0;
	}
	
	public void incrCounter(){
		this.counter += 1;
	}
	
	
	public boolean isAcceptable(){
		return  ( this.getDestinator().length() > 0 ) && ( this.getMessage().length() > 0 );
	}
}
